runtime.mspan.needzero (field)
9 uses
runtime (current package)
arena.go#L489: if s.needzero != 0 {
arena.go#L996: s.needzero = 0
malloc.go#L1119: if needzero && span.needzero != 0 {
malloc.go#L1132: if needzero && span.needzero != 0 {
mgcsweep.go#L743: s.needzero = 1
mheap.go#L488: needzero uint8 // needs to be zeroed before allocation
mheap.go#L1386: s.needzero = 1
mheap.go#L1585: s.needzero = 1
mheap.go#L1689: span.needzero = 0
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |